<template>
  <button @click="showLog">测试</button>
  <Person ref="child"/>
</template>

<script lang="ts" setup name="App">
  import Person from './components/Person.vue'
  import {ref} from 'vue'

  let child = ref()

  function showLog(){
    console.log(child.value)
  }
</script>
